=============================================================================
COMPILING FROM SOURCE
-----------------------------------------------------------------------------

You will need:

 - Either the meson build system (https://mesonbuild.com) or the scons build
   system (https://scons.org).
 - A D compiler that supports D 2.076.0 or newer.
 - GraphicsMagick (https://graphicsmagick.sourceforge.io) unless you are
   building on macOS.

If you are building on macOS, you will need to use SCons as there are some
issues linking with the appropriate frameworks when using meson.

You can now build pixiv_down.

For meson:

   meson setup builddir
   ninja -C builddir

For scons:

   scons

=============================================================================
INSTALLATION
-----------------------------------------------------------------------------

By default, pixiv_down will be installed with the prefix /usr/local, see the
'Configuration' section below to see how you can change this.

For meson:

   sudo ninja -C builddir install

For scons:

   sudo scons install

After installation you may have to reload the dynamic library cache for your
operating system. (For example, ldconfig or update_dyld_shared_cache.)


-----------------------------------------------------------------------------
Configuration
-----------------------------------------------------------------------------

You can see a list of configuration options by using either:

   - meson configure builddir
   - scons --help

You can then configure these options from the command line, for example, to
change the default installation prefix of /usr/local to /usr:

   - meson configure builddir -Dprefix=/usr
   - scons prefix=/usr
